package cn.tedu.ivoscm.audit.mapper;

import cn.tedu.ivoscm.audit.pojo.dto.AuditQuery;
import cn.tedu.ivoscm.audit.pojo.entity.Audit;
import cn.tedu.ivoscm.audit.pojo.vo.AuditVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AuditMapper {
    void insertAudit(Audit audit);

    List<AuditVO> selectAuditByApplicationId(Long applicationId);

    void deleteByApplicationId(Long id);

    List<AuditVO> select(AuditQuery aq);

    void update(Audit audit);

    Integer selectCountNotAudit(AuditQuery aq);

    void deleteById(Long id);

}
